package com.uenpay.im.ui.old.activity.dynamic;

import com.uenpay.im.configuration.APIConfiguration;
import com.uenpay.im.invokeitems.BaseHttpInvokeItem;

/**
 * praise dynamic
 * 
 * @author SL
 * @copyRight http://www.qiyunxin.com
 * 
 */
public class PraiseDynamicsInvokeItem extends BaseHttpInvokeItem {

	/**
	 * 
	 * @param dynamicid
	 * @param op
	 *            0:cancel 1:praise
	 */
	public PraiseDynamicsInvokeItem(int dynamicid, int op) {
		String url = APIConfiguration.getBaseUrl()
				+ "Dynamic/Dynamic/praise?dynamicid=" + dynamicid + "&op=" + op
				+ "&" + APIConfiguration.getCustIdAndToken();
		RequestHttpInvokeItem(false);
		SetUrl(url);
	}
}
